package com.gui.hospital.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gui.hospital.mapper.DoctorMapper;
import com.gui.hospital.model.Doctor;

import java.util.List;

/**
 * Author:刘舒佳
 * Date:2024/8/23
 */
public interface DoctorService extends IService<Doctor> {
    List<Doctor> findByName(String name);

    Page<Doctor> pageList(Integer page, Integer size, Doctor doctor);

    List<Doctor> findByHdIdAndDate(Integer hdId, String date);
}
